Optimal. Leaf size=298 \[ \frac {2 b d^2 x \sqrt {d-c^2 d x^2}}{63 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b d^2 x^3 \sqrt {d-c^2 d x^2}}{189 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c d^2 x^5 \sqrt {d-c^2 d x^2}}{21 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {19 b c^3 d^2 x^7 \sqrt {d-c^2 d x^2}}{441 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c^5 d^2 x^9 \sqrt {d-c^2 d x^2}}{81 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{7/2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c^4 d}+\frac {\left (d-c^2 d x^2\right )^{9/2} \left (a+b \cosh ^{-1}(c x)\right )}{9 c^4 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 298, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {272, 45, 5922,
12, 380} \begin {gather*} \frac {\left (d-c^2 d x^2\right )^{9/2} \left (a+b \cosh ^{-1}(c x)\right )}{9 c^4 d^2}-\frac {\left (d-c^2 d x^2\right )^{7/2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c^4 d}-\frac {b c d^2 x^5 \sqrt {d-c^2 d x^2}}{21 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b d^2 x^3 \sqrt {d-c^2 d x^2}}{189 c \sqrt {c x-1} \sqrt {c x+1}}-\frac {b c^5 d^2 x^9 \sqrt {d-c^2 d x^2}}{81 \sqrt {c x-1} \sqrt {c x+1}}+\frac {2 b d^2 x \sqrt {d-c^2 d x^2}}{63 c^3 \sqrt {c x-1} \sqrt {c x+1}}+\frac {19 b c^3 d^2 x^7 \sqrt {d-c^2 d x^2}}{441 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 45
Rule 272
Rule 380
Rule 5922
Rubi steps
\begin {align*} \int x^3 \left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right ) \, dx &=\frac {\left (d^2 \sqrt {d-c^2 d x^2}\right ) \int x^3 (-1+c x)^{5/2} (1+c x)^{5/2} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {2 d^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{63 c^4}-\frac {d^2 x^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{9 c^2}-\frac {\left (b c d^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (-2-7 c^2 x^2\right ) \left (1-c^2 x^2\right )^3}{63 c^4} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {2 d^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{63 c^4}-\frac {d^2 x^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{9 c^2}-\frac {\left (b d^2 \sqrt {d-c^2 d x^2}\right ) \int \left (-2-7 c^2 x^2\right ) \left (1-c^2 x^2\right )^3 \, dx}{63 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {2 d^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{63 c^4}-\frac {d^2 x^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{9 c^2}-\frac {\left (b d^2 \sqrt {d-c^2 d x^2}\right ) \int \left (-2-c^2 x^2+15 c^4 x^4-19 c^6 x^6+7 c^8 x^8\right ) \, dx}{63 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {2 b d^2 x \sqrt {d-c^2 d x^2}}{63 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b d^2 x^3 \sqrt {d-c^2 d x^2}}{189 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c d^2 x^5 \sqrt {d-c^2 d x^2}}{21 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {19 b c^3 d^2 x^7 \sqrt {d-c^2 d x^2}}{441 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c^5 d^2 x^9 \sqrt {d-c^2 d x^2}}{81 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 d^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{63 c^4}-\frac {d^2 x^2 (1-c x)^3 (1+c x)^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{9 c^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 145, normalized size = 0.49 \begin {gather*} \frac {d^2 \sqrt {d-c^2 d x^2} \left (63 a \left (-1+c^2 x^2\right )^4 \left (2+7 c^2 x^2\right )+b c x \sqrt {-1+c x} \sqrt {1+c x} \left (126+21 c^2 x^2-189 c^4 x^4+171 c^6 x^6-49 c^8 x^8\right )+63 b \left (-1+c^2 x^2\right )^4 \left (2+7 c^2 x^2\right ) \cosh ^{-1}(c x)\right )}{3969 c^4 \left (-1+c^2 x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1101\) vs.
\(2(250)=500\).
time = 3.74, size = 1102, normalized size = 3.70
method | result | size |
default | \(a \left (-\frac {x^{2} \left (-c^{2} d \,x^{2}+d \right )^{\frac {7}{2}}}{9 c^{2} d}-\frac {2 \left (-c^{2} d \,x^{2}+d \right )^{\frac {7}{2}}}{63 d \,c^{4}}\right )+b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (256 c^{10} x^{10}-704 c^{8} x^{8}+256 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{9} c^{9}+688 x^{6} c^{6}-576 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{7} c^{7}-280 c^{4} x^{4}+432 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{5} c^{5}+41 c^{2} x^{2}-120 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}+9 \sqrt {c x +1}\, \sqrt {c x -1}\, x c -1\right ) \left (-1+9 \,\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{41472 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (64 c^{8} x^{8}-144 x^{6} c^{6}+64 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{7} c^{7}+104 c^{4} x^{4}-112 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{5} c^{5}-25 c^{2} x^{2}+56 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}-7 \sqrt {c x +1}\, \sqrt {c x -1}\, x c +1\right ) \left (-1+7 \,\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{25088 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}-3 \sqrt {c x +1}\, \sqrt {c x -1}\, x c +1\right ) \left (-1+3 \,\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{576 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \left (-1+\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{256 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \left (1+\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{256 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}+4 c^{4} x^{4}+3 \sqrt {c x +1}\, \sqrt {c x -1}\, x c -5 c^{2} x^{2}+1\right ) \left (1+3 \,\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{576 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-64 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{7} c^{7}+64 c^{8} x^{8}+112 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{5} c^{5}-144 x^{6} c^{6}-56 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}+104 c^{4} x^{4}+7 \sqrt {c x +1}\, \sqrt {c x -1}\, x c -25 c^{2} x^{2}+1\right ) \left (1+7 \,\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{25088 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-256 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{9} c^{9}+256 c^{10} x^{10}+576 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{7} c^{7}-704 c^{8} x^{8}-432 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{5} c^{5}+688 x^{6} c^{6}+120 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}-280 c^{4} x^{4}-9 \sqrt {c x +1}\, \sqrt {c x -1}\, x c +41 c^{2} x^{2}-1\right ) \left (1+9 \,\mathrm {arccosh}\left (c x \right )\right ) d^{2}}{41472 \left (c x +1\right ) c^{4} \left (c x -1\right )}\right )\) | \(1102\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 185, normalized size = 0.62 \begin {gather*} -\frac {1}{63} \, {\left (\frac {7 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {7}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {7}{2}}}{c^{4} d}\right )} b \operatorname {arcosh}\left (c x\right ) - \frac {1}{63} \, {\left (\frac {7 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {7}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {7}{2}}}{c^{4} d}\right )} a - \frac {{\left (49 \, c^{8} \sqrt {-d} d^{2} x^{9} - 171 \, c^{6} \sqrt {-d} d^{2} x^{7} + 189 \, c^{4} \sqrt {-d} d^{2} x^{5} - 21 \, c^{2} \sqrt {-d} d^{2} x^{3} - 126 \, \sqrt {-d} d^{2} x\right )} b}{3969 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.44, size = 281, normalized size = 0.94 \begin {gather*} \frac {63 \, {\left (7 \, b c^{10} d^{2} x^{10} - 26 \, b c^{8} d^{2} x^{8} + 34 \, b c^{6} d^{2} x^{6} - 16 \, b c^{4} d^{2} x^{4} - b c^{2} d^{2} x^{2} + 2 \, b d^{2}\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (49 \, b c^{9} d^{2} x^{9} - 171 \, b c^{7} d^{2} x^{7} + 189 \, b c^{5} d^{2} x^{5} - 21 \, b c^{3} d^{2} x^{3} - 126 \, b c d^{2} x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} + 63 \, {\left (7 \, a c^{10} d^{2} x^{10} - 26 \, a c^{8} d^{2} x^{8} + 34 \, a c^{6} d^{2} x^{6} - 16 \, a c^{4} d^{2} x^{4} - a c^{2} d^{2} x^{2} + 2 \, a d^{2}\right )} \sqrt {-c^{2} d x^{2} + d}}{3969 \, {\left (c^{6} x^{2} - c^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^3\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________